package com.iflytek.uoamp.notify.wechat.format;

import com.iflytek.uoamp.common.notify.enumerate.ContentType;
import com.iflytek.uoamp.common.notify.format.Formatter;

public class FormatWechatFactory {
	
    public static Formatter getMsgFormatter(ContentType type) {
        switch(type) {
        case BASE:
            return new FormatBaseWechat();
        case COMP:
            return new FormatCompWechat();
        case BIZ:
            return new FormatBizWecaht();
        case LOG:
            return new FormatCommonWechat();
        case OTHER:
            return null;
        default:
            return null;
        }
    }
}
